#pragma once
 
class WPENGIN_API ITexture : public  IResource
{
public:
	ITexture(int nResType, const TCHAR * resName , D3DPOOL pool=D3DPOOL_DEFAULT);
	~ITexture(void);

	void SetTextureWidth(const	DWORD & w	 ); 
	void SetTextureHeight(const	DWORD &	h);  
const	DWORD &	  TextureWidth(void); 
const	DWORD & TextureHeight(void);  
LPDIRECT3DTEXTURE9 GetTexture();
void SetTexture(LPDIRECT3DTEXTURE9 pTexture );
protected:
 LPDIRECT3DTEXTURE9 m_pD3DTexture;
 DWORD m_dwWidth,m_dwHeight;



};

